package com.ebc.eservice.vo.article;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author: Joey
 * @Description: 文章类型
 * @date:2022/10/8 23:02
 */
@Data
public class ArticleTypeRespVo {
    @ApiModelProperty(value = "类型id" )
    private Integer typeId;
    @ApiModelProperty(value = "名称" )
    private String typeName;
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh",timezone = "GMT+8")//HH:mm:ss
    private Date createTime;
    @ApiModelProperty(value = "创建人" )
    private String creator;

}
